package com.bluej.study.spring_boot.rpc;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xingdongjie
 * @date 2018/4/17 15:16
 */
@Data
@NoArgsConstructor
public class RpcResult<T> {
    private String serviceName = "bluej服务方";
    private int code;
    private String msg;
    private T data;

    public RpcResult( T data){
        this.data = data;
    }
}
